<h1>编辑上课记录</h1>

<% form_tag :action=>'update' do %>
  <%= render :partial => 'form' %>
  <input type="hidden" name="id" value="<%= @attendence.id %>">
  <p>
    <%= submit_tag '提交' %>
  </p>
<% end %>

<%= link_to '返回', :action => 'index'%>
